package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * 上报PLC状态数据
 */

@Data
@Accessors(chain = true)
@Table(name = "iot_box_plc_status")
public class PlcStatus {
    @TableId(type= IdType.AUTO)
    private Long id;
    private String imei;
    private Integer deviceId;
    private String value;
    private Date time;
}
